<?
/**
 * <b>OrderType Class</b>
 * Published 04/11/2010 18:57:28
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');
require_once('ShippingDetailsType.php');
require_once('OrderStatusCodeType.php');
require_once('ExternalTransactionType.php');
require_once('TradingRoleCodeType.php');
require_once('UserIDType.php');
require_once('TransactionArrayType.php');
require_once('BuyerPaymentMethodCodeType.php');
require_once('AmountType.php');
require_once('ShippingServiceOptionsType.php');
require_once('OrderIDType.php');
require_once('CheckoutStatusType.php');
require_once('AddressType.php');

class OrderType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var AmountType $AdjustmentAmount
	public $AdjustmentAmount;
	// @var AmountType $AmountPaid
	public $AmountPaid;
	// @var AmountType $AmountSaved
	public $AmountSaved;
	// @var string $BuyerCheckoutMessage
	public $BuyerCheckoutMessage;
	// @var UserIDType $BuyerUserID
	public $BuyerUserID;
	// @var CheckoutStatusType $CheckoutStatus
	public $CheckoutStatus;
	// @var dateTime $CreatedTime
	public $CreatedTime;
	// @var TradingRoleCodeType $CreatingUserRole
	public $CreatingUserRole;
	// @var string $EIASToken
	public $EIASToken;
	// @var ExternalTransactionType $ExternalTransaction
	public $ExternalTransaction;
	// @var boolean $IntegratedMerchantCreditCardEnabled
	public $IntegratedMerchantCreditCardEnabled;
	// @var OrderIDType $OrderID
	public $OrderID;
	// @var OrderStatusCodeType $OrderStatus
	public $OrderStatus;
	// @var dateTime $PaidTime
	public $PaidTime;
	// @var BuyerPaymentMethodCodeType $PaymentMethods
	public $PaymentMethods;
	// @var dateTime $ShippedTime
	public $ShippedTime;
	// @var AddressType $ShippingAddress
	public $ShippingAddress;
	// @var ShippingDetailsType $ShippingDetails
	public $ShippingDetails;
	// @var ShippingServiceOptionsType $ShippingServiceSelected
	public $ShippingServiceSelected;
	// @var AmountType $Subtotal
	public $Subtotal;
	// @var AmountType $Total
	public $Total;
	// @var TransactionArrayType $TransactionArray
	public $TransactionArray;
 /** End Properties **/

/**
 *
 * @return AmountType
 */
	function getAdjustmentAmount(){
		return $this->AdjustmentAmount;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setAdjustmentAmount($value){
		$this->AdjustmentAmount = $value;
	}


/**
 *
 * @return AmountType
 */
	function getAmountPaid(){
		return $this->AmountPaid;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setAmountPaid($value){
		$this->AmountPaid = $value;
	}


/**
 *
 * @return AmountType
 */
	function getAmountSaved(){
		return $this->AmountSaved;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setAmountSaved($value){
		$this->AmountSaved = $value;
	}


/**
 *
 * @return string
 */
	function getBuyerCheckoutMessage(){
		return $this->BuyerCheckoutMessage;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setBuyerCheckoutMessage($value){
		$this->BuyerCheckoutMessage = $value;
	}


/**
 *
 * @return UserIDType
 */
	function getBuyerUserID(){
		return $this->BuyerUserID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setBuyerUserID($value){
		$this->BuyerUserID = $value;
	}


/**
 *
 * @return CheckoutStatusType
 */
	function getCheckoutStatus(){
		return $this->CheckoutStatus;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setCheckoutStatus($value){
		$this->CheckoutStatus = $value;
	}


/**
 *
 * @return dateTime
 */
	function getCreatedTime(){
		return $this->CreatedTime;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setCreatedTime($value){
		$this->CreatedTime = $value;
	}


/**
 *
 * @return TradingRoleCodeType
 */
	function getCreatingUserRole(){
		return $this->CreatingUserRole;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setCreatingUserRole($value){
		$this->CreatingUserRole = $value;
	}


/**
 *
 * @return string
 */
	function getEIASToken(){
		return $this->EIASToken;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setEIASToken($value){
		$this->EIASToken = $value;
	}


/**
 *
 * @return ExternalTransactionType
 */
	function getExternalTransaction(){
		return $this->ExternalTransaction;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setExternalTransaction($value){
		$this->ExternalTransaction = $value;
	}


/**
 *
 * @return boolean
 */
	function getIntegratedMerchantCreditCardEnabled(){
		return $this->IntegratedMerchantCreditCardEnabled;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setIntegratedMerchantCreditCardEnabled($value){
		$this->IntegratedMerchantCreditCardEnabled = $value;
	}


/**
 *
 * @return OrderIDType
 */
	function getOrderID(){
		return $this->OrderID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setOrderID($value){
		$this->OrderID = $value;
	}


/**
 *
 * @return OrderStatusCodeType
 */
	function getOrderStatus(){
		return $this->OrderStatus;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setOrderStatus($value){
		$this->OrderStatus = $value;
	}


/**
 *
 * @return dateTime
 */
	function getPaidTime(){
		return $this->PaidTime;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPaidTime($value){
		$this->PaidTime = $value;
	}


/**
 *
 * @return BuyerPaymentMethodCodeType
 */
	function getPaymentMethods(){
		return $this->PaymentMethods;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPaymentMethods($value){
		$this->PaymentMethods = $value;
	}


/**
 *
 * @return dateTime
 */
	function getShippedTime(){
		return $this->ShippedTime;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setShippedTime($value){
		$this->ShippedTime = $value;
	}


/**
 *
 * @return AddressType
 */
	function getShippingAddress(){
		return $this->ShippingAddress;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setShippingAddress($value){
		$this->ShippingAddress = $value;
	}


/**
 *
 * @return ShippingDetailsType
 */
	function getShippingDetails(){
		return $this->ShippingDetails;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setShippingDetails($value){
		$this->ShippingDetails = $value;
	}


/**
 *
 * @return ShippingServiceOptionsType
 */
	function getShippingServiceSelected(){
		return $this->ShippingServiceSelected;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setShippingServiceSelected($value){
		$this->ShippingServiceSelected = $value;
	}


/**
 *
 * @return AmountType
 */
	function getSubtotal(){
		return $this->Subtotal;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setSubtotal($value){
		$this->Subtotal = $value;
	}


/**
 *
 * @return AmountType
 */
	function getTotal(){
		return $this->Total;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setTotal($value){
		$this->Total = $value;
	}


/**
 *
 * @return TransactionArrayType
 */
	function getTransactionArray(){
		return $this->TransactionArray;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setTransactionArray($value){
		$this->TransactionArray = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("OrderType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"AdjustmentAmount"=>
					array(
						"required"=>false,
						"type"=>"AmountType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"AmountPaid"=>
					array(
						"required"=>false,
						"type"=>"AmountType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"AmountSaved"=>
					array(
						"required"=>false,
						"type"=>"AmountType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"BuyerCheckoutMessage"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"BuyerUserID"=>
					array(
						"required"=>false,
						"type"=>"UserIDType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"CheckoutStatus"=>
					array(
						"required"=>false,
						"type"=>"CheckoutStatusType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"CreatedTime"=>
					array(
						"required"=>false,
						"type"=>"dateTime",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"CreatingUserRole"=>
					array(
						"required"=>false,
						"type"=>"TradingRoleCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"EIASToken"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ExternalTransaction"=>
					array(
						"required"=>false,
						"type"=>"ExternalTransactionType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..*"
					),
				"IntegratedMerchantCreditCardEnabled"=>
					array(
						"required"=>false,
						"type"=>"boolean",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"OrderID"=>
					array(
						"required"=>false,
						"type"=>"OrderIDType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"OrderStatus"=>
					array(
						"required"=>false,
						"type"=>"OrderStatusCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PaidTime"=>
					array(
						"required"=>false,
						"type"=>"dateTime",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PaymentMethods"=>
					array(
						"required"=>false,
						"type"=>"BuyerPaymentMethodCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"1..*"
					),
				"ShippedTime"=>
					array(
						"required"=>false,
						"type"=>"dateTime",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ShippingAddress"=>
					array(
						"required"=>false,
						"type"=>"AddressType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ShippingDetails"=>
					array(
						"required"=>false,
						"type"=>"ShippingDetailsType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ShippingServiceSelected"=>
					array(
						"required"=>false,
						"type"=>"ShippingServiceOptionsType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Subtotal"=>
					array(
						"required"=>false,
						"type"=>"AmountType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Total"=>
					array(
						"required"=>false,
						"type"=>"AmountType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"TransactionArray"=>
					array(
						"required"=>false,
						"type"=>"TransactionArrayType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
